#ifndef BULLET_H
#define BULLET_H


class bullet
{
public:
    bullet();
    bullet(int A,int T,int X,int Y);
public:
    int attack;
    int type;
    int speed=60;   //子弹飞行速度
    int x;
    int y;
    bool exist=true;  //判断子弹是否存在
public:
    void RenewPos();
};

#endif // BULLET_H
